package view.GUI.adminView.coreData.people.person;

import javafx.scene.layout.GridPane;
import view.GUI.adminView.coreData.people.AbstractPeopleView;
import view.GUI.mainView.MainView;
import enums.GUIText;


public abstract class PersonView extends AbstractPeopleView{

	protected NewPersonGrid gridNewPerson;

	public PersonView(boolean isEdit, MainView instance, GUIText title) {
		super(isEdit, 4, instance, title);
		gridNewPerson = new NewPersonGrid(valSup);
		GridPane.setColumnSpan(gridNewPerson, 5);
		addNode(gridNewPerson, 0, 1);
	}
}
